package cn.jxau.service.impl;

import org.springframework.stereotype.Service;

import cn.jxau.bean.po.User;
import cn.jxau.service.CommonService;
import cn.jxau.service.IndexService;
/**
 * 和主页相关的服务
 * @author licho
 *
 */
@Service
public class IndexServiceImpl extends AbstractCommonService implements IndexService {

	@Override
	public boolean insertUserForRegister(User user) {
		boolean flag=false;
		flag=userMapper.insert(user)==0 ?false :true;
		return flag;
	}

}
